package com.roc.steelend.service;


import com.roc.steelend.controller.vo.returnformat.ReturnMsg;
import com.roc.steelend.controller.vo.specialInvoice.SpecialInvoiceByBuyReception;
import com.roc.steelend.controller.vo.specialPay.SpecialByBuyReception;
import com.roc.steelend.pojo.Suppliers;

import java.util.List;


public interface SuppliersService {

//    供应商弹窗的数据服务
List<Suppliers> findSupplierList(String searchMsg, Integer now, Integer size);
//    统计供应商的总人数
    Integer  countSupplier(String searchMsg);

    Boolean  registeredSupplier(Suppliers suppliers);

    List<Suppliers>  findSuppliersByOrderAdd();

    Suppliers supplierTiaoPiaoAndReconciliation(Integer supplierId);


    ReturnMsg postAccountSupplier(SpecialByBuyReception specialByBuyReception, Integer employeeId);

    ReturnMsg postInvoiceSupplier(SpecialInvoiceByBuyReception specialInvoiceByBuyReception,Integer employeeId);
}
